/*
========================================================================
 Name        : SPDTodayContainerLuck.h
 Author      : 
 Copyright   : Your copyright notice
 Description : 
========================================================================
*/
#ifndef SPDTODAYCONTAINERLUCK_H
#define SPDTODAYCONTAINERLUCK_H

// [[[ begin generated region: do not modify [Generated Includes]
#include <coecntrl.h>		
#include <aknbutton.h>
#include <stringloader.h>
// ]]] end generated region [Generated Includes]


// [[[ begin [Event Handler Includes]
// ]]] end [Event Handler Includes]

// [[[ begin generated region: do not modify [Generated Forward Declarations]
class MEikCommandObserver;		
class CEikLabel;
class CAknButton;
class CEikImage;
// ]]] end generated region [Generated Forward Declarations]

/**
 * Container class for SPDTodayContainerLuck
 * 
 * @class	CSPDTodayContainerLuck SPDTodayContainerLuck.h
 */
class CSPDTodayContainerLuck : public CCoeControl
	{
public:
	// constructors and destructor
	CSPDTodayContainerLuck();
	static CSPDTodayContainerLuck* NewL( 
		const TRect& aRect, 
		const CCoeControl* aParent, 
		MEikCommandObserver* aCommandObserver );
	static CSPDTodayContainerLuck* NewLC( 
		const TRect& aRect, 
		const CCoeControl* aParent, 
		MEikCommandObserver* aCommandObserver );
	void ConstructL( 
		const TRect& aRect, 
		const CCoeControl* aParent, 
		MEikCommandObserver* aCommandObserver );
	virtual ~CSPDTodayContainerLuck();

public:
	// from base class CCoeControl
	TInt CountComponentControls() const;
	CCoeControl* ComponentControl( TInt aIndex ) const;
	TKeyResponse OfferKeyEventL( 
			const TKeyEvent& aKeyEvent, 
			TEventCode aType );
	void HandleResourceChange( TInt aType );
	
protected:
	// from base class CCoeControl
	void SizeChanged();

private:
	// from base class CCoeControl
	void Draw( const TRect& aRect ) const;

private:
	void InitializeControlsL();
	void LayoutControls();
	CCoeControl* iFocusControl;
	MEikCommandObserver* iCommandObserver;
	// [[[ begin generated region: do not modify [Generated Methods]
public: 
	// ]]] end generated region [Generated Methods]
	
	// [[[ begin generated region: do not modify [Generated Type Declarations]
public: 
	// ]]] end generated region [Generated Type Declarations]
	
	// [[[ begin generated region: do not modify [Generated Instance Variables]
private: 
	CEikLabel* iStarName;
	CEikLabel* iDateRange;
	CAknButton* iOtherStarButton;
	CEikImage* iStartseparator1;
	CEikImage* iStartIcon;
	CEikLabel* iLoveLabel;
	CEikImage* iLoveIcon1;
	CEikImage* iLoveIcon2;
	CEikImage* iLoveIcon3;
	CEikImage* iLoveIcon4;
	CEikImage* iLoveIcon5;
	CEikLabel* iWorkLabel;
	CEikImage* iWorkIcon1;
	CEikImage* iWorkIcon2;
	CEikImage* iWorkIcon3;
	CEikImage* iWorkIcon4;
	CEikImage* iWorkIcon5;
	CEikLabel* iLuckLabel;
	CEikImage* iLuckIcon1;
	CEikImage* iLuckIcon2;
	CEikImage* iLuckIcon3;
	CEikImage* iLuckIcon4;
	CEikImage* iLuckIcon5;
	CEikImage* iStarseparator2;
	CEikLabel* iStarDesc;
	// ]]] end generated region [Generated Instance Variables]
	
	
	// [[[ begin [Overridden Methods]
protected: 
	// ]]] end [Overridden Methods]
	
	
	// [[[ begin [User Handlers]
protected: 
	// ]]] end [User Handlers]
	
public: 
	enum TControls
		{
		// [[[ begin generated region: do not modify [Generated Contents]
		EStarName,
		EDateRange,
		EOtherStarButton,
		EStartseparator1,
		EStartIcon,
		ELoveLabel,
		ELoveIcon1,
		ELoveIcon2,
		ELoveIcon3,
		ELoveIcon4,
		ELoveIcon5,
		EWorkLabel,
		EWorkIcon1,
		EWorkIcon2,
		EWorkIcon3,
		EWorkIcon4,
		EWorkIcon5,
		ELuckLabel,
		ELuckIcon1,
		ELuckIcon2,
		ELuckIcon3,
		ELuckIcon4,
		ELuckIcon5,
		EStarseparator2,
		EStarDesc,
		
		// ]]] end generated region [Generated Contents]
		
		// add any user-defined entries here...
		
		ELastControl
		};
	};
				
#endif // SPDTODAYCONTAINERLUCK_H
